﻿// Upgrade NOTE: replaced 'mul(UNITY_MATRIX_MVP,*)' with 'UnityObjectToClipPos(*)'

Shader "Custom/FirstShader"
{

    SubShader
    {
        Pass
        {

            CGPROGRAM

            #pragma vertex MyVertex
            #pragma fragment MyFragment

            #include "UnityCG.cginc"

            float4 MyVertex(float4 position: POSITION): SV_POSITION {
                return UnityObjectToClipPos(position);
            }

            float4 MyFragment(float4 position : SV_POSITION) : SV_TARGET {
                return float4(1,1,0,1);
            }

            ENDCG
        }
    }
}
